import { http } from "@/utils/http";

/** 获取所有弹幕 */
export const getPageDan = (params?: object) => {
  return http.request<any>("get", "/danmaku/getPageDan", { params });
};

/** 删除弹幕 */
export const deleteDan = (params?: object) => {
  return http.request<any>("delete", "/danmaku/deleteDan?ids=" + params, { params });
};